package org.freedom.fastdevpt.gos.company.pojo;

import org.freedom.fastdevpt.core.base.BaseEntity;

public class Company extends BaseEntity {
	private Integer id=0;
	private Company parent;
	private int level;
	private String name;
	private int num;
	private String code;
	private String addr;
	private String tel;
	private String fax;
	private String email;
	private String status;
	
	
	public Company(Integer id, String name) {
		super();
		this.id = id;
		this.name = name;
	}
	public Company() {
		super();
		this.id=0;
	}
	public Company(Integer id, Company parent, int level, String name, int num,  
			String addr, String tel, String fax, String email, String status) {
		super();
		this.id = id;
		this.parent = parent;
		this.level = level;
		this.name = name;
		this.num = num;
	 
		this.addr = addr;
		this.tel = tel;
		this.fax = fax;
		this.email = email;
		this.status = status;
	}
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public Company getParent() {
		return parent;
	}
	public void setParent(Company parent) {
		this.parent = parent;
	}
	public int getLevel() {
		return level;
	}
	public void setLevel(int level) {
		this.level = level;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public int getNum() {
		return num;
	}
	public void setNum(int num) {
		this.num = num;
	}
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public String getAddr() {
		return addr;
	}
	public void setAddr(String addr) {
		this.addr = addr;
	}
	public String getTel() {
		return tel;
	}
	public void setTel(String tel) {
		this.tel = tel;
	}
	public String getFax() {
		return fax;
	}
	public void setFax(String fax) {
		this.fax = fax;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
 
	 
}
